<el-dialog id="form" title="报销单审批" :visible.sync="dialogVisible" :width="dialogWidth" top="30px" v-dialog-drag
           :fullscreen="fullscreen" :close-on-click-modal="false" v-cloak>
	<div class="my-dialog-body">
		<el-form ref="form" :model="form" :rules="rules" label-width="120px" size="mini" :disabled="disabled">

			<el-row>
				<el-col :xs="24" :sm="24" :lg="24">
					<el-form-item label="审批意见" prop="approveFlag">
						<el-radio v-model="form.approveFlag" label="1">同意</el-radio>
						<el-radio v-model="form.approveFlag" label="0">不同意</el-radio>
					</el-form-item>
				</el-col>
			</el-row>
			
			<el-row>
				<el-col :xs="24" :sm="24" :lg="24">
					<el-form-item label="审批意见备注" prop="approveFRemarks">
						<el-input v-model="form.approveFRemarks" placeholder="请填写备注"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
		</el-form>
		
		<my-resume :master-id="rowData.id"></my-resume>
	</div>

	<div slot="footer">
		<el-button v-for="(item,index) in btnOption" :type="item.type" :icon="item.icon" @click="handleOption(item)"
		           v-show="!item.hide" :loading="saveDisabled">{{item.name}}
		</el-button>
		<el-button icon="el-icon-close" @click="dialogVisible = false">取 消</el-button>
	</div>
</el-dialog>

<script>
	var formVue = new SillyVue({
		data: function () {
			return {
				categoryMap: myConst.categoryMap.silly_reimbursement,
				nodeKey: "T0030",
				showFileList: false,
				searchData: {},
				// 表单数据
				form: {
					approveFlag: null,
					approveFRemarks: null
				},
				rules: {
					approveFlag: {"required": true, "message": "审核意见必须填写"}
				}
			};
		},
		methods: {
			otherInit(obj) {

			}
		}
	});
</script>
